function testLength()
{
	var value= $(this).val();
	if (value.length > 0 && value!="Default text")
}

function displayDate()
{
	var myDate= new Date();
	document.getElementById("dateDisplay").innerHTML=myDate;
}

function drawGradient(Teamcolor)
{
	//adapted from w3schools canvas gradient tutorial
	var c=document.getElementById("teamCanvas");
	var ctx=c.getContext("2d");
	var grd=ctx.createLinearGradient(640,0,640,512);
	grd.addColorStop(0,"black");
	grd.addColorStop(1,Teamcolor);
	ctx.fillStyle=grd;
	ctx.fillRect(0,0,1280,1024);
}